﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="javascriptBase.aspx.cs" Inherits="WebApplication.javascriptBase" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<script type="text/javascript">
    var fact = 1;
    for (i = 1; i < 10; i++) {
        fact = fact * i;
        document.write(i + "! = " + fact + "<br>");
    }
</script>
 
</asp:Content>
